package com.sxit.tdf.server.entity.vo;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 胡乖乖童鞋
 * @date 2022/2/27 11:33
 * @describe
 */
@Data
public class InsertUpLoadFileVo {


  private MultipartFile file;

  private Integer filePathId;

  @NotNull(message = "请选择文件夹")
  private Integer fileBucketId;

  @NotBlank(message = "请选择文件的所属人 或者 单位")
  private String fileOwnerId;

  private String fileDescribe;

  private Boolean isCurrentUserInfo;

  private String fileName;
}
